<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="UTF-8">
    <!-- 用于指定双核浏览器默认以何种方式渲染页面 -->
    <meta name="renderer" content="webkit">
    <!-- 为移动设备添加 viewport；-->
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <!-- 删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <!-- 设置苹果工具栏颜色 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <meta name="HandheldFriendly" content="true">
    <!-- 微软的老式浏览器 -->
    <meta name="MobileOptimized" content="320">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!-- UC应用模式 -->
    <meta name="browsermode" content="application">
    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app">
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <!-- 指定请求和响应遵循的缓存机制 -->
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Expires" content="0"/>
    <!-- 优先使用 IE 最新版本和 Chrome -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>早降重</title>
    <meta name="description" content="论文降重，论文修改，降低重复率，智能降重，论文查重，论文检测，毕业论文，论文相似率高"/>
    <meta name="keywords" content="早降重论文降重系统使用第六代人工智能神经网络降重模型，能够准确快速的一键解决毕业论文重复率高，相似率高的问题，系统保证语句通顺度、连贯性、上下文结构，相比上一代系统提升30%效果，500万大学生降低论文重复率高问题的首选系统。"/>
        <link rel="shortcut icon" href="../mobile/assets/favicon.ico" type="image/vnd.microsoft.icon"/>
    <link rel="stylesheet" href="../mobile/assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../mobile/assets/css/bootstrap-select.min.css">
    <link rel="stylesheet" href="../mobile/assets/css/bootstrapValidator.min.css">
    <link rel="stylesheet" href="../mobile/assets/css/base.css">
    <link rel="stylesheet" href="../mobile/assets/css/kefu.css?v=1">
    <link rel="stylesheet" href="../mobile/assets/css/common.css">
    <link rel="stylesheet" href="../mobile/assets/css/index.css?v=1.7">
    <link rel="stylesheet" href="../mobile/assets/css/Discounts.css?v=1.0">
    <script>
        var USER_TOKEN = 'RmlETkdPdjYzZmVjNTVhMDAyYzY='
        var JANE_NAME = 'zjchong'
    </script>
</head>
<body>
<div class="index_app">
    <div class="home">
        <div class="header">
            <img src="../mobile/assets/img/logo.63535a7d.png">
            <div class="line"></div>
            <div class="txt">
                <p>第六代人工智能</p>
                <p>神经网络降重模型</p>
            </div>
        </div>
        <div class="ver_info_seat"></div>
        <div class="ver_info">
<!--            <div class="ver_item gjb active" data-type="lwjc">-->
<!--                <div>-->
<!--                    <p class="ver_title">降查重率</p>-->
<!--                    <p class="ver_price">获取中...</p>-->
<!--                </div>-->
<!--                <div class="circle">-->
<!--                    <img src=""-->
<!--                         class="img_gjb"></div>-->
<!--                <img src=""-->
<!--                     class="recommend">-->
<!--            </div>-->
<!--            <div class="ver_item jcb " data-type="aigclwjc">-->
<!--                <div>-->
<!--                    <p class="ver_title">降AIGC率</p>-->
<!--                    <p class="ver_price">获取中...</p></div>-->
<!--                <div class="circle">-->
<!--                    <img src=""-->
<!--                         class="img_jcb"></div>&lt;!&ndash;&ndash;&gt;-->
<!--            </div>-->
        </div>
        <div class="main-tab-bar">
            <div class="wrapper_seat"></div>
            <div class="wrapper radius jc-type">
                <div class="wrap_lab">
                    类型
                </div>
                <div class="wrap_cxt">
                    <div class="check_box qwjc_btn active" data-type="qwjc">
                        <img class="checkedImg" src="../mobile/assets/img/check.png">
                        <img class="checkImg" src="../mobile/assets/img/checked.png">
                        <span class="type-qw">全文降重</span>
                    </div>
                    <div class="check_box" data-type="bbjc">
                        <img class="checkedImg" src="../mobile/assets/img/check.png">
                        <img class="checkImg" src="../mobile/assets/img/checked.png">
                        <span class="type-bg">报告降重</span>
                    </div>
                </div>
            </div>
            <div class="wrapper radius aigc-kl">
                <div class="wrap_lab">
                    科类
                </div>
                <div class="wrap_cxt">
                    <div class="check_box" data-type="文科">
                        <img class="checkedImg" src="../mobile/assets/img/check.png">
                        <img class="checkImg" src="../mobile/assets/img/checked.png">
                        文科
                    </div>
                    <div class="check_box" data-type="理科">
                        <img class="checkedImg" src="../mobile/assets/img/check.png">
                        <img class="checkImg" src="../mobile/assets/img/checked.png">
                        理科
                    </div>
                </div>
            </div>
            <div class="table-form">
                <div class="row-wrap" >
                    <div class="row-1">
                        <label for="title">题目</label>
                        <input
                                id="title"
                                type="text"
                                maxlength="60"
                                placeholder="请填写您的论文题目，60字以内"
                        />
                    </div>
                </div>
                <div class="row-wrap" >
                    <div class="row-1">
                        <label for="author">作者</label>
                        <input
                                id="author"
                                type="text"
                                maxlength="15"
                                placeholder="请填写您的论文作者，15字以内"
                        />
                    </div>
                </div>
                <div class="row-wrap relativebox" >
                    <div class="content_box">
                        <div class="inner_box">
                            <div class="mask">
                                <p class="txt_tip">请填写或上传您的论文内容......</p>
                                <p>内容字数在200字-300000字符</p>
                                <p>提交内容建议去除封面，目录，仅提交正文</p>
                                <p>上传仅限txt、doc、docx，不得超过15M</p>
                                <p class="prompt-c" style="color: rgb(218, 0, 36);">暂不支持英语等非中文论文，非中文论文请勿提交！</p>
                            </div>
                            <textarea id="textarea" maxlength="300000"></textarea>
                        </div>
                        <div class="file_up">
                            <input
                                    class="file-input"
                                    type="file"
                                    accept=".doc, .docx, .txt, text/plain"
                            />
                            <img src="../mobile/assets/img/uploade.png"/>
                        </div>
                        <div class="text_total">
                            已输入
                            <span class="redworld">0</span>字符
                        </div>
                    </div>
                    <div class="pre-look">
                        <img src="../mobile/assets/img/uploade.png" />
                        <p>
                            <span class="fileName"></span>
                            <img class="icon-delete" src="../mobile/assets/img/icon-delete.png"/>
                        </p>
                    </div>
                </div>
                <p class="X-price" >计费方式：<span class="price-unit">获取中</span></p>
                <div class="row-wrap clear-fix">
                    <button class="btn-sub btn-jc">
                        <!-- <i class="iconfont icon-data-down"></i> -->
                        开始<span class="text-jc">降重</span>
                    </button>
                    <div class="flex_nbox">
                        <button class="btn-demo-a"  size="large">
                            <a href="./query.html">提取报告</a>
                        </button>
                        <button class="btn-demo-b" size="large">
                            <a class="report-s" href="./demo/zjchong/suggestLianmen.html" target="_blank">报告样例</a>
                            <a class="report-a" href="./demo/zjchong/aigcNad.html" target="_blank">报告样例</a>
                        </button>
                    </div>
                </div>
            </div>
            <div class="file-form">
                <div class="fileType" >
                    <div class="row-1">
                        <label for="reportType"><span class="name-reportType">查重报告</span></label>
                        <input
                                id="reportType"
                                type="text"
                                readonly
                                maxlength="60"
                                placeholder="请选择查重报告类型"
                        />
                    </div>
                </div>
                <div class="row-wrap">
                    <div class="upload-part">
                        <img class="upload_icon" src="../mobile/assets/img/icon-upload-big-new.png"/>
                        <p class="zip_tips1">系统会自动提取“<span class="name-reportType">查重报告</span>”中的论文，仅对<span class="rate-type">重复率</span>高的内容进行改写</p>
                        <p class="zip_tips1 prompt-c-u" style="color: rgb(218, 0, 36); display: none;margin-top: .5rem;">暂不支持英语等非中文论文，非中文论文请勿提交！</p>
                        <p class="zip_tips2"><em>点击上传<span class="zipTye_text"></span></em>&nbsp;，文件小于30M</p>
                        <div class="pre-look">
                            <img src="../mobile/assets/img/icon-file.png" class="fileIcon" />
                            <p>
                                <span class="bg-fileName"></span>
                                <img class="icon-delete bg-delete" src="../mobile/assets/img/icon-delete.png"/>
                            </p>
                        </div>
                        <input class="file-input pdfInput" type="file"
                               accept=".pdf"
                        />
                        <input class="file-input zipInput" type="file"
                               accept=".application/zip,application/x-zip,application/x-zip-compressed"
                        />
                        <input class="file-input htmlInput" type="file"
                               accept=".html"
                        />
                    </div>
                </div>
                <p class="X-price" >计费方式：<span class="price-unit">获取中</span></p>
                <div class="row-wrap clear-fix">
                    <button class="btn-sub btn-bgjc">
                        <!-- <i class="iconfont icon-data-down"></i> -->
                        开始<span class="text-jc">降重</span>
                    </button>
                    <div class="flex_nbox">
                        <button class="btn-demo-a"  size="large">
                            <a href="./query.html">提取报告</a>
                        </button>
                        <button class="btn-demo-b" size="large">
                            <a class="report-s" href="./demo/zjchong/suggestLianmen.html" target="_blank">报告样例</a>
                            <a class="report-a" href="./demo/zjchong/aigcNad.html" target="_blank">报告样例</a>
                        </button>
                    </div>
                </div>
            </div>
            <div class="instructions">
                <div class="mind_tab">
                    <div class="mind_item active" data-type="cjwt">
                        <img class="img_pre" src="../mobile/assets/img/problem.png" />
                        <img class="img_pre_a" src="../mobile/assets/img/problem_active.png" />
                        常见问题
                    </div>
                    <div class="line"></div>
                    <div class="mind_item detaile_text" data-type="bbdb">
                        <img class="img_nex" src="../mobile/assets/img/params.png" />
                        <img class="img_nex_a" src="../mobile/assets/img/params_active.png" />
                        <span>版本对比</span>
                    </div>
                </div>
                <div class="outbox">
                    <div class="mind_item_a">
                        <div class="question-jc">
                            <dl>
                                <dd style="font-size: 0">
                                    <p>注意事项</p>
                                    <!-- <span>全文:</span> -->
                                    <span class="zysx_1"><span>仅上传正文，删除内容中的封面、摘要、目录、参考文献、致谢、附录等；</span>暂不支持图片、表格、公式、代码降重；</span>
                                    <!-- <span>报告:</span><br> -->
                                    <span class="zysx_2">仅支持.zip、部分.pdf格式的文件上传；</span>
                                    <span class="zysx_2">文档大小请不要超过30M，否则将无法上传。可将论文中的图片删除（系统不支持图片降重）；</span>
                                </dd>
                            </dl>
                            <dl>
                                <dd>
                                    <p>降重比例</p>
                                    <span>自动降重语义分析引擎会将解析出的重复句子全部修改一遍，由于系统不会自动提交查重，所以系统是无法预知修改后的文章能降低多少比例的。根据惯例，重复率越高，降重越明显。</span>
                                </dd>
                            </dl>
                            <dl>
                                <dd>
                                    <p>降重效果</p>
                                    <span>当然自动降重的效果是无法与专业的老师人工修改相提并论的，系统也不能评判修改后的句子是否符合要求。相比人工降重的价格，极具性价比。</span>
                                </dd>
                            </dl>
                            <dl>
                                <dd>
                                    <p>重要提示</p>
                                    <span class="redText">1、提交之前，请确认能接受机器降重带来的误差和局限性再支付费用，确认支付后不接受任何形式退款；</span>
                                    <span class="redText">2、此系统只是降重软件，报告内不含查重率；</span>
                                    <span class="redText">3、请使用相同查重系统的结果来评判降重效果。</span>
                                    <span class="redText zyts_zigc">4、目前仅支持中文，其它语种正在努力学习中。</span>
                                </dd>
                            </dl>
                        </div>
                        <div class="question-aigc">
                            <dl>
                                <dd style="font-size: 0">
                                    <p>注意事项</p>
                                    <span style="color: #d80024;font-weight: bold;">系统仅支持中文，暂不支持英语等非中文，非中文请勿提交！</span>
                                    <!-- <span>全文:</span> -->
                                    <span class="zysx_1"><span>仅上传正文，删除内容中的封面、摘要、目录、参考文献、致谢、附录等；</span>暂不支持图片、表格、公式、代码降AIGC；</span>
                                    <!-- <span>报告:</span><br> -->
                                    <span class="zysx_2">仅支持.zip、部分.pdf或部分.html 格式的文件上传；</span>
                                    <span class="zysx_2">文档大小请不要超过30M，否则将无法上传。可将论文中的图片删除（系统不支持图片降重）；</span>
                                </dd>
                            </dl>
                            <dl>
                                <dd>
                                    <p>降AIGC系统介绍</p>
                                    <span>对比语言模型和思维逻辑，轻松降低“AIGC检测系统”的AI疑似率，支持市面上主流AIGC疑似率系统，赋能AI生成文章，保障学术诚信。</span>
                                </dd>
                            </dl>
                            <dl>
                                <dd>
                                    <p>降AIGC疑似率效果</p>
                                    <span>市面上的查重系统和AICG针对AI的算法会使用多种不同的AI检测模型进行计算，即使是纯人工手写的论文都存在误判虚高的现象；目前我们的产品基于主流知网的AIGC系统进行深度优化和更新，效果更好。</span>
                                </dd>
                            </dl>
                            <dl>
                                <dd>
                                    <p>重要提示</p>
                                    <span class="redText">1、提交之前，请确认能接受机器降重带来的误差和局限性再支付费用，确认支付后不接受任何形式退款；</span>
                                    <span class="redText">2、此系统只是降重软件，报告内不含查重率；</span>
                                    <span class="redText">3、请使用相同查重系统的结果来评判降重效果。</span>
                                    <span class="redText zyts_zigc">4、目前仅支持中文，其它语种正在努力学习中。</span>
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <div class="mind_item_b">
                        <div class="my_table bbdb-both">
                            <div class="col1">
                                <p>版本</p>
                                <p>单价</p>
                                <p>耗时</p>
                                <p>建议</p>
                                <p>数据训练</p>
                                <p>网络模型</p>
                                <p>导出word</p>
                                <p>评分</p>
                                <p>原文对比</p>
                                <p>导出txt</p>
                                <p>同义词</p>
                                <p>在线修改</p>
                                <p>分布图</p>
                                <p>报告样例</p>
                            </div>
                            <div class="col2">
                                <p class="col_gjb">降AIGC率
                                </p>
                                <p class="bold_c price_aigc_t">获取中</p>
                                <p class="blue">5min/千字</p>
                                <p>1条</p>
                                <p>上亿</p>
                                <p>全新算法</p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><a href="./demo/zjchong/aigcNad.html" target="_blank">查看</a></p>
                            </div>
                            <div class="col3">
                                <p class="col_gjb">降重复率
                                    <img class="recommend" src="../mobile/assets/img/good.png">
                                </p>
                                <p class="bold_c price_jc_t">获取中</p>
                                <p class="blue">3min/千字</p>
                                <p>2条</p>
                                <!--                            <p>90%</p>-->
                                <p>上亿</p>
                                <p>第六代</p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><img class="is_logo" src="../mobile/assets/img/yes.png"></p>
                                <p><a href="./demo/zjchong/suggestLianmen.html" target="_blank">查看</a></p>
                            </div>
                        </div>
                        <div class="cpcs-lwjc">
                            <div class="itemB-top">
                                <div class="itemB-top-x">
                                    <p class="x-title">时间</p>
                                    <p class="x-text">1千字/3min</p>
                                    <img class="time_0" src="../mobile/assets/img/time_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">单价</p>
                                    <p class="x-text price-cs-lwjc"></p>
                                    <img class="price_0" src="../mobile/assets/img/price_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">数据训练</p>
                                    <p class="x-text">亿级+</p>
                                    <img class="data_0" src="../mobile/assets/img/data_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">句子建议</p>
                                    <p class="x-text">三条</p>
                                    <img class="advise_0" src="../mobile/assets/img/advise_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">降重模型</p>
                                    <p class="x-text">第六代</p>
                                    <img class="model_0" src="../mobile/assets/img/model_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">模型指数</p>
                                    <p class="x-text">PPL  35<span class="minus">-</span></p>
                                    <img class="fudu_0" src="../mobile/assets/img/fudu_03.png" alt />
                                </div>
                            </div>
                            <div class="itemB-bottom">
                                <div class="bottombox_title">报告详情</div>
                                <div class="bottombox_line"></div>
                                <div class="bottomfbox">
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/pingfen_26.png" alt />
                                        <div class="xiangqt">报告评分</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/yuanwen_26.png" alt />
                                        <div class="xiangqt">原文对比</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/Word_32.png" alt />
                                        <div class="xiangqt">导出WORD</div>
                                    </div>
                                </div>
                                <div class="bottomfbox">
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/txt_38.png" alt />
                                        <div class="xiangqt">导出TXT</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/tongyici_26.png" alt />
                                        <div class="xiangqt">同义词建议</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/zxxiugai_44.png" alt />
                                        <div class="xiangqt">在线修改</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="cpcs-aigc">
                            <div class="itemB-top">
                                <div class="itemB-top-x">
                                    <p class="x-title">耗时</p>
                                    <p class="x-text">1千字/5min</p>
                                    <img class="time_0" src="../mobile/assets/img/time_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">单价</p>
                                    <p class="x-text price-cs-aigc"></p>
                                    <img class="price_0" src="../mobile/assets/img/price_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">模型指数</p>
                                    <p class="x-text">PPL 35<span class="minus">-</span></p>
                                    <img class="data_0" src="../mobile/assets/img/data_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">数据训练</p>
                                    <p class="x-text">上亿</p>
                                    <img class="advise_0" src="../mobile/assets/img/advise_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">句子建议</p>
                                    <p class="x-text">三条</p>
                                    <img class="model_0" src="../mobile/assets/img/model_03.png" alt />
                                </div>
                                <div class="itemB-top-x">
                                    <p class="x-title">网络模型</p>
                                    <p class="x-text">第七代</p>
                                    <img class="fudu_0" src="../mobile/assets/img/fudu_03.png" alt />
                                </div>
                            </div>
                            <div class="itemB-bottom aigc_bottom">
                                <div class="bottombox_title">更多介绍</div>
                                <div class="bottombox_line"></div>
                                <div class="bottomfbox">
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/r-bar-new-1.png" alt />
                                        <div class="xiangqt">多系统支持</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/r-bar-new-2.png" alt />
                                        <div class="xiangqt">多样化降重</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/r-bar-new-3.png" alt />
                                        <div class="xiangqt">导出WORD</div>
                                    </div>
                                    <div class="bottomfbox_item">
                                        <img class="xiangqi" src="../mobile/assets/img/r-bar-new-4.png" alt />
                                        <div class="xiangqt">保学术诚信</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="type-pop">
        <img class="closePop" src="../mobile/assets/img/close-generate.png" alt="">
        <div class="type_title">查重报告类型</div>
        <ul class="typeBox lwjcType">
            <li class="type_item" data-type="wanfang">
                <span class="text_c">万方</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="weipu">
                <span class="text_c">维普</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="zaojiance">
                <span class="text_c">早检测</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="checkPass">
                <span class="text_c">CheckPass</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="paperPass">
                <span class="text_c">PaperPass</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="yuanwenjian">
                <span class="text_c">源文鉴</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="cnki">
                <span class="text_c">知网</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="cnkigr">
                <span class="text_c">知网个人查重</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
        </ul>
        <ul class="typeBox aigcType">
            <li class="type_item" data-type="cnkiAIGC">
                <span class="text_c">知网AIGC报告</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="weipuAIGC">
                <span class="text_c">维普AIGC报告</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="paperPassAIGC">
                <span class="text_c">paperPass报告</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="masterAIGC">
                <span class="text_c">MasterAIGC报告</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
            <li class="type_item" data-type="otherAIGC">
                <span class="text_c">其他</span>
                <span>
                    <img class="checked-i" src="../mobile/assets/img/checked.png" alt="">
                    <img class="check-i" src="../mobile/assets/img/check.png" alt="">
                </span>
            </li>
        </ul>
    </div>

</div>

<div class="mask-pop"></div>
<div class="dashi_wx_box text_a_c">
    <div class="customerBox">
        <i class="close-wx"></i>
        <div class="head">
            <img src="../mobile/assets/img/kf.png" alt="">
            <span class="customer-title"></span>
        </div>
        <div class="customerCode">
            <img class="customer-qr" src="" alt="">
        </div>
        <div class="segmentation-line"></div>
        <div class="customerWay">
            <p class="wxText"><span class="s0">微信:</span> <span class="s1"></span></p>
            <p class="qqText"><span class="s0">Q Q:</span> <span class="s1"></span></p>
            <p class="telephone"><span class="s0">电话:</span> <span class="s1"></span></p>
            <p class="mailbox"><span class="s0">邮箱:</span> <span class="s1"></span></p>
        </div>
        <p class="noCustomer">商家未设置客服</p>
        <img class="customBg" src="../mobile/assets/img/bg1.png" alt="">
    </div>
</div>
<div class="mask-fixed"></div>
<div class="customer-wx">
    <img src="../mobile/assets/img/kfwx.png" alt="客服">
</div>
<div class="Activity">
    <img src="../mobile/assets/img/xc2.gif" alt="">
</div>
<!-- 优惠卷活动 -->
<div class="mask_body"></div>
<div class="Discounts_box">
    <div class="CircleBG">
        <div class="box-Content">
            <div class="ContentText">
                <div class="Contenthader">
                    降重新认证用户专享
                    <div class="but_close">
                        <img src="../mobile/assets/img/but_close.png" alt="关闭">
                    </div>
                </div>
                <img src="../mobile/assets/img/Discounts.png" alt="">
                <div class="ButtonDiv">
                    <a href="#" target="_blank" rel="noopener noreferrer">立即领取</a>
                </div>
                <p class="DiscountsTips">每个认证用户仅限领取一次,15天有效期</p>

                <div class="Prompt">
                    <div>
                        <img src="../mobile/assets/img/task.png" alt="">
                        <p>点击领取</p>
                        <p>完成任务</p>
                    </div>
                    <img src="../mobile/assets/img/arrowyh.png" alt="">
                    <div>
                        <img src="../mobile/assets/img/certificate.png" alt="">
                        <p>填写手机号</p>
                        <p>获取优惠券</p>
                    </div>
                    <img src="../mobile/assets/img/arrowyh.png" alt="">
                    <div>
                        <img src="../mobile/assets/img/pay.png" alt="">
                        <p>支付输入</p>
                        <p>券码兑换</p>
                    </div>
                </div>
                <div class="GuaranteeTheBottom">
                    <div class="phoneNumber">
                        <img src="../mobile/assets/img/ico_phone.png" alt="">
                        <input
                            placeholder="请输入注册手机号"
                            id="Cell-phoneNumber"
                            onkeyup="this.value=this.value.replace(/^(0+)|[^\d]+/g,'') "
                            onafterpaste="this.value=this.value.replace(/^(0+)|[^\d]+/g,'') "
                            autocomplete="off" maxlength="11"
                            type="text">
                    </div>
                    <div class="GetCode">
                        <input id="copyInput2" type="text">
                        <div class="Not">
                            <img src="../mobile/assets/img/icon_left.png" alt="">
                            <span class="text1">获取优惠券</span>
                            <span class="text2">优惠券码：<span class="CouponCode"></span> <span class="CopyCode">复制</span></span>
                            <img src="../mobile/assets/img/icon_right.png" alt="">
                        </div>
                    </div>
                    <p class="Rules">支付时填写券码兑换，<span>请妥善保存优惠券码</span></p>
                </div>
            </div>
        </div>
    </div>
</div>
<!--<div class="customer-wx">-->
<!--    <img src="../mobile/assets/img/kfwx.png" alt="客服">-->
<!--</div>-->
<div id="filing-information"></div>
<script src="../mobile/assets/js/jquery.min.js"></script>
<script src="../mobile/assets/js/bootstrap.min.js"></script>
<script src="../mobile/assets/js/bootstrap-select.js"></script>
<script src="../mobile/assets/js/bootstrapValidator.min.js"></script>
<script src="../mobile/assets/js/message.js"></script>
<script src="../mobile/assets/js/jszip.min.js"></script>
<script src="../mobile/assets/js/clipboard.min.js"></script>
<script src="../mobile/assets/js/common.js?v=1.1"></script>
<script src="../mobile/assets/js/Discounts.js"></script>
<script>

    // 价格
    var price_lwjc = ''
    var price_aigc = ''
    function setPriceInfo() {
        order_openid = getQueryVariable('openid')
        if(!order_openid){
            if(/MicroMessenger/.test(window.navigator.userAgent) && threeMsg.wx){
                location.href = 'https://api.taoxiangyoushu.com/weixin/getOpenId?appid=' + threeMsg.wx + '&otherUrl=' + encodeURIComponent(window.location.href)
            }
        }
        var htmlDom = ''
        for(var i=0; i<typeData.length; i++) {
            if(typeData[i].short_name == 'lwjc'){
                price_lwjc = typeData[i].selling_price + '元/' + (typeData[i].unit_count/1000 == 1?'':typeData[i].unit_count/1000) + '千字'
                var lwjcClassArr = i==0? 'ver_item gjb leftBox active':'ver_item gjb rightBox'
                if(typeData.length == 1){
                    lwjcClassArr += ' only'
                }
                htmlDom += "<div class='"+ lwjcClassArr +"' data-type='lwjc' goodsid='"+ typeData[i].goods_id +"'>" +
                    "        <div>" +
                    "            <p class='ver_title'>降查重率</p>" +
                    "            <p class='ver_price'>"+ price_lwjc +"</p>" +
                    "        </div>" +
                    "        <div class='circle'>" +
                    "             <img src=''" +
                    "                  class='img_gjb'></div>" +
                    "             <img src=''" +
                    "                  class='recommend'>" +
                    "    </div>"
            }
            if(typeData[i].short_name == 'aigclwjc'){
                price_aigc = typeData[i].selling_price + '元/' + (typeData[i].unit_count/1000 == 1?'':typeData[i].unit_count/1000) + '千字'
                var lwjcClassArr = i==0? 'ver_item jcb leftBox active':'ver_item jcb rightBox'
                if(typeData.length == 1){
                    lwjcClassArr += ' only'
                }
                htmlDom += "<div class='"+ lwjcClassArr +"' data-type='aigclwjc' goodsid='"+ typeData[i].goods_id +"'>" +
                    "           <div>" +
                    "               <p class='ver_title'>降AIGC率</p>" +
                    "               <p class='ver_price'>"+ price_aigc +"</p>" +
                    "           </div>" +
                    "           <div class='circle'>" +
                    "                <img src=''" +
                    "                     class='img_jcb'>" +
                    "                </div>" +
                    "           </div>"
            }
        }
        $(".ver_info").append(htmlDom)
        $(".ver_info_seat").hide()
        $(".ver_info").css('display', 'flex')
        $(".wrapper_seat").hide()
        $(".wrapper").css('display', 'flex')
        $($(".ver_info .ver_item")[0]).click()
        $(".price-cs-lwjc").text(price_lwjc)
        $(".price-cs-aigc").text(price_aigc)
        if(typeData.length > 1) {
            $(".mind_item_b .bbdb-both").show().css('display', 'flex')
            $(".detaile_text span").text('版本对比')
        }else {
            $(".detaile_text span").text('产品参数')
            if(typeData[0].short_name == "lwjc"){
                $(".cpcs-lwjc").show()
            }
            if(typeData[0].short_name == "aigclwjc"){
                $(".cpcs-aigc").show()
            }
        }
        if($(".ver_info .ver_item.active").data('type') == 'aigclwjc'){
            $(".price-unit").text(price_aigc?price_aigc:'获取中')
        }
        if($(".ver_info .ver_item.active").data('type') == 'lwjc'){
            $(".price-unit").text(price_lwjc?price_lwjc:'获取中')
        }
        $(".price_aigc_t").text(price_aigc)
        $(".price_jc_t").text(price_lwjc)
    }

    // 版本选择
    $(document).on('click', '.ver_info .ver_item' ,function (){
        $(".ver_info .ver_item").removeClass('active')
        $(this).addClass('active')

        if( $(".relativebox .file-input").val()){
            $(".relativebox .file-input").val('')
            $(".relativebox .file-input").trigger('change')
        }
        if($(".zipInput").val()){
            $(".zipInput").val('')
            $(".zipInput").trigger('change')
        }
        if($(".pdfInput").val()){
            $(".pdfInput").val('')
            $(".pdfInput").trigger('change')
        }
        if($(".htmlInput").val()){
            $(".htmlInput").val('')
            $(".htmlInput").trigger('change')
        }
        if($(this).data('type')== 'lwjc'){
            $(".aigc-kl").hide();
            $(".zyts_zigc").hide()
            $(".price-unit").text(price_lwjc?price_lwjc:'获取中')
            $(".type-qw").text('全文降重')
            $(".type-bg").text('报告降重')
            $('#reportType').attr('placeholder','查重报告类型')
            $(".name-reportType").text('查重报告')
            $(".rate-type").text('重复率')
            $(".question-jc").show()
            $(".question-aigc").hide()
            $(".report-s").show()
            $(".report-a").hide()
            $(".text-jc").text('降重')
            $(".prompt-c").hide()
            $(".prompt-c-u").hide()
        }
        if($(this).data('type')== 'aigclwjc'){
            $(".aigc-kl").show().css('display','flex');
            $(".zyts_zigc").show()
            $(".price-unit").text(price_aigc?price_aigc:'获取中')
            $(".type-qw").text('全文降AI率')
            $(".type-bg").text('报告降AI率')
            $('#reportType').attr('placeholder','AIGC报告类型')
            $(".name-reportType").text('AIGC报告')
            $(".rate-type").text('AIGC率')
            $(".question-jc").hide()
            $(".question-aigc").show()
            $(".report-s").hide()
            $(".report-a").show()
            $(".text-jc").text('降AIGC')
            $(".prompt-c").show()
            $(".prompt-c-u").show()
        }
        $(".qwjc_btn").click()
        $("#reportType").val('')
        $(".typeBox .type_item").removeClass('active')
        $(".upload-part .zip_tips1").show()
        $(".upload-part .zip_tips2").hide()
        if($(this).data('type')== 'aigclwjc'){
            $(".prompt-c-u").show()
        }else{
            $(".prompt-c-u").hide()
        }
        $(".zipInput").hide()
        $(".pdfInput").hide()
        $(".htmlInput").hide()
    })



    //科类
    $(".aigc-kl .check_box").click(function (){
        $(".aigc-kl .check_box").removeClass('active')
        $(this).addClass('active')
    })

    // 全文/报告降重
    $(".jc-type .check_box").click(function (){
        $(".jc-type .check_box").removeClass('active')
        $(this).addClass('active')
        if($(this).data('type')== 'qwjc'){
            $(".zysx_1").show()
            $(".zysx_2").hide()
            $(".table-form").show()
            $(".file-form").hide()
        }
        if($(this).data('type')== 'bbjc'){
            $(".zysx_1").hide()
            $(".zysx_2").show()
            $(".table-form").hide()
            $(".file-form").show()
        }
    })

    //常见问题/版本对比
    $(".mind_tab .mind_item").click(function (){
        $(".mind_tab .mind_item").removeClass('active')
        $(this).addClass('active')
        if($(this).data('type')== 'cjwt'){
            $(".mind_item_a").show()
            $(".mind_item_b").hide()
        }
        if($(this).data('type')== 'bbdb'){
            $(".mind_item_a").hide()
            $(".mind_item_b").show()
        }
    })

    //输入文字内容
    $("#textarea").on('input', function (){
        if($("#textarea").val()){
            $(".relativebox .mask").hide()
            $(".relativebox .file_up").hide()
        }else{
            $(".relativebox .mask").show()
            $(".relativebox .file_up").show()
        }
        $(".redworld").text($("#textarea").val().length?$("#textarea").val().length:'0')
    })

    //选择报告类型
    var zipType = ''
    $("#reportType").on('click',function (){
        if( $(".ver_info .ver_item.active").data('type')=='lwjc' ){
            $(".type-pop .lwjcType").show()
            $(".type-pop .aigcType").hide()
            $(".type-pop").removeClass('aigcHigh')
        }
        if( $(".ver_info .ver_item.active").data('type')=='aigclwjc' ){
            $(".type-pop .lwjcType").hide()
            $(".type-pop .aigcType").show()
            $(".type-pop").addClass('aigcHigh')
        }
        $(".mask-pop").show()
        $(".type-pop").css('bottom', '0')
    })

    function closePop() {
        $(".mask-pop").hide()
        $(".type-pop").css('bottom', '-37rem')
    }

    $(".closePop").on('click',function (){
        closePop()
    })

    $(".mask-pop").on('click',function (){
        closePop()
    })

    $(".typeBox .type_item").on('click',function (){
        $(".typeBox .type_item").removeClass('active')
        $(this).addClass('active')
        $("#reportType").val($(this).find('.text_c').text())
        closePop()
        if($(this).data('type') == 'cnkigr'){
            $(".zipTye_text").text($(this).find('.text_c').text() + '（全文标明引文_毕业论文.pdf）报告')
        }else if($(this).data('type') == 'cnkiAIGC'){
            $(".zipTye_text").text($(this).find('.text_c').text() + ' PDF文件')
        }else if($(this).data('type') == 'weipuAIGC'){
            $(".zipTye_text").text($(this).find('.text_c').text() + ' HTML文件')
        }else if($(this).data('type') == 'otherAIGC'){
            $(".zipTye_text").text('AIGC报告' + ' ZIP压缩包')
        }else{
            $(".zipTye_text").text($(this).find('.text_c').text() + ' ZIP压缩包')
        }
        if(!$(".zipInput").val() && !$(".pdfInput").val() && !$(".htmlInput").val()){
            $(".upload-part .zip_tips1").hide()
            $(".upload-part .zip_tips2").show()
            if($(this).data('type') == 'cnkigr' || $(this).data('type') == 'cnkiAIGC'){
                $(".pdfInput").show()
                $(".zipInput").hide()
                $(".htmlInput").hide()
            }else if($(this).data('type') == 'weipuAIGC'){
                $(".pdfInput").hide()
                $(".zipInput").hide()
                $(".htmlInput").show()
            }else{
                $(".pdfInput").hide()
                $(".zipInput").show()
                $(".htmlInput").hide()
            }
        }
    })

    //上传文件
    $(".relativebox .file-input").change(function (){
        if($(this)[0].files[0]){
            $(".content_box").hide()
            $(".relativebox .pre-look").show()
            $(".relativebox .pre-look .fileName").text($(this)[0].files[0].name)
        }else{
            $(".content_box").show()
            $(".relativebox .pre-look").hide()
        }
    })

    $(".relativebox .icon-delete").click(function (){
        $(".relativebox .file-input").val('')
        $(".relativebox .file-input").trigger('change')
    })

    $(".upload-part").click(function (){
        if(!$("#reportType").val()) {
            toast('请先选择报告类型')
        }
    })

    $(".zipInput").change(function (){
        if($(this)[0].files[0]){
            $(".upload_icon").hide()
            $(".zip_tips2").hide()
            $(".file-form .pre-look").show()
            $(".bg-fileName").text($(this)[0].files[0].name)
            $(this).hide()
        }else{
            $(".upload_icon").show()
            $(".zip_tips2").show()
            $(".file-form .pre-look").hide()
            $(".zipInput").show()
        }
    })

    $(".pdfInput").change(function (){
        if($(this)[0].files[0]){
            $(".upload_icon").hide()
            $(".zip_tips2").hide()
            $(".file-form .pre-look").show()
            $(".bg-fileName").text($(this)[0].files[0].name)
            $(this).hide()
        }else{
            $(".upload_icon").show()
            $(".zip_tips2").show()
            $(".file-form .pre-look").hide()
            $(".pdfInput").show()
        }
    })

    $(".htmlInput").change(function (){
        if($(this)[0].files[0]){
            $(".upload_icon").hide()
            $(".zip_tips2").hide()
            $(".file-form .pre-look").show()
            $(".bg-fileName").text($(this)[0].files[0].name)
            $(this).hide()
        }else{
            $(".upload_icon").show()
            $(".zip_tips2").show()
            $(".file-form .pre-look").hide()
            $(".htmlInput").show()
        }
    })

    $(".bg-delete").click(function (){
        if($(".zipInput").val()){
            $(".zipInput").val('')
            $(".zipInput").trigger('change')
        }
        if($(".pdfInput").val()){
            $(".pdfInput").val('')
            $(".pdfInput").trigger('change')
        }
        if($(".htmlInput").val()){
            $(".htmlInput").val('')
            $(".htmlInput").trigger('change')
        }
    })

    // 验证
    function verify1() {
        if($(".ver_info .ver_item.active").data('type') == 'lwjc'){
            if(!$("#title").val()){
                toast({
                    msg: '请输入或粘贴论文标题',
                    time: 2000
                })
                return false
            }

            if(!$("#author").val()){
                toast({
                    msg: '请输入或粘贴论文作者',
                    time: 2000
                })
                return false
            }

            if(!$("#textarea").val() && !$(".file-input").val()){
                toast({
                    msg: '请填写或上传论文',
                    time: 2000
                })
                return false
            }else{
                if(($("#textarea").val().length < 200 || $("#textarea").val().length > 300000) && !$(".file-input").val()){
                    toast({
                        msg: '字数在200-300000字内',
                        time: 2000
                    })
                    return false
                }else{
                    return true
                }
            }
        }
        if($(".ver_info .ver_item.active").data('type') == 'aigclwjc'){
            if(!$(".aigc-kl .check_box.active").length){
                toast({
                    msg: '请选择科类',
                    time: 2000
                })
                return false
            }

            if(!$("#title").val()){
                toast({
                    msg: '请输入或粘贴论文标题',
                    time: 2000
                })
                return false
            }

            if(!$("#author").val()){
                toast({
                    msg: '请输入或粘贴论文作者',
                    time: 2000
                })
                return false
            }

            if(!$("#textarea").val() && !$(".file-input").val()){
                toast({
                    msg: '请填写或上传论文',
                    time: 2000
                })
                return false
            }else{
                if(($("#textarea").val().length < 200 || $("#textarea").val().length > 300000) && !$(".file-input").val()){
                    toast({
                        msg: '字数在200-300000字内',
                        time: 2000
                    })
                    return false
                }else{
                    return true
                }
            }
        }
    }

    function verify2(){
        if($(".ver_info .ver_item.active").data('type') == 'aigclwjc'){
            if(!$(".aigc-kl .check_box.active").length){
                toast({
                    msg: '请选择科类',
                    time: 2000
                })
                return false
            }
        }
        if(!$(".pdfInput").val() && !$(".zipInput").val() && !$(".htmlInput").val()) {
            toast({
                msg: '请上传查重报告',
                time: 2000
            })
            return false
        }else{
            return true
        }
    }


    var order_openid = ''
    let throttling = true;

    if (getQueryVariable('qhclickid')) {
        window.localStorage.setItem('qhclickid', getQueryVariable('qhclickid'))
    }
    if (getQueryVariable('bd_vid')) {
        window.localStorage.setItem('bd_vid', window.location.href)
    }

    $(".btn-jc").click(function (){
        if(verify1()){
            if (!throttling) return
            toast({
                msg: '正在提交,请稍后...',
                type: 'loading',
                time: 20000
            })
            throttling = false
            var pathName = ''
            var locationPathname = window.location.pathname
            if (locationPathname.slice(locationPathname.length - 1, locationPathname.length) !== '/') {
                locationPathname += '/'
            }
            if (window.location.pathname.indexOf('index.html') != -1) {
                pathName = window.location.pathname.replace('index.html', 'query.html')
            } else {
                pathName = locationPathname + 'query.html'
            }
            var formData = {
                goods_id: $(".ver_info .ver_item.active").attr('goodsid'),
                frontNotifyUrl: window.location.origin + pathName + '?oid=#outTradeNo#',
                domain_record: window.location.origin, // 本地测试需要替换写死, 上线前切记恢复自动获取
                source: /MicroMessenger/.test(window.navigator.userAgent) ? 2 : 7
            }
            if (order_openid) {
                formData['wx_param[appid]'] = threeMsg.wx
                formData['wx_param[openId]'] = order_openid
            }

            if (window.localStorage.getItem('qhclickid')) {
                formData['qhclickid'] = window.localStorage.getItem('qhclickid')
            }
            if (window.localStorage.getItem('bd_vid')) {
                formData['bd_vid'] = window.localStorage.getItem('bd_vid')
            }


            var formData_1 = {
                title: $("#title").val(),
                author: $("#author").val()
            }
            if($('#textarea').val()){
                formData_1.content = $('#textarea').val()
            }
            if($(".file-input").val()){
                formData_1.file = $(".file-input")[0].files[0]
            }

            if($(".ver_info .ver_item.active").data('type') == 'aigclwjc'){
                formData_1.paper_type = $(".aigc-kl .check_box.active").data('type')
                formData_1.type = 'aigclwjc'
            }else{
                formData_1.type = 'lwjc'
            }

            $.ajax({
                type: 'POST',
                url: urls+ '/api/project/zjchong/pre_handle/upload?user_token='+USER_TOKEN+'&jane_name='+JANE_NAME+'&domain_record='+ window.location.origin,
                processData: false,
                contentType: false,
                xhrFields: {
                    withCredentials: true
                },
                data: getFormData(formData_1),
                success: function (res){
                    if(res.code == 200){
                        formData['data[rid][label]'] = '记录id'
                        formData['data[rid][value]'] = res.data.rid
                        $.ajax({
                            type: 'post',
                            url: urls + '/api/client/order/unified/create?user_token=' + USER_TOKEN + '&jane_name=' + JANE_NAME + (suffix ? '&' + suffix : ''),
                            data: getFormData(formData),
                            processData: false,
                            contentType: false,
                            xhrFields: {
                                withCredentials: true
                            },
                            success: function (resData) {
                                toastNone()
                                if (resData.code == 200) {
                                    throttling = true
                                    if (/MicroMessenger/.test(window.navigator.userAgent) && payWay_Info.wx && payWay_Info.wx_jsapi) {  // 微信浏览器
                                        let pathName = window.location.pathname
                                        if (window.location.pathname.indexOf('index.html') !== -1) {
                                            pathName = pathName.replace('index.html', 'pay.html')
                                        } else {
                                            pathName = pathName + 'pay.html'
                                        }
                                        location.href = 'https://api.taoxiangyoushu.com/weixin/getOpenId?appid=' + payWay_Info.wx_jsapi + '&otherUrl=' + encodeURIComponent(window.location.origin + pathName + '?commitId=' + resData.data.order_sn + '&lw_type=' + formData_1.title + '&author='+ formData_1.author + '&paper_type=' + '&NumberWords=' + res.data.word_num + '&speciality=' + '&order_amount=' + resData.data.order_amount + '&dateTime=' + resData.data.created + '&goods=&payId=' + '&pay_wap_url=' + resData.data.pay_wap_url + '&jcType=' + $(".ver_info .ver_item.active").data('type'))
                                        return
                                    }
                                    location.href = './pay.html?commitId=' + resData.data.order_sn + '&lw_type=' + formData_1.title + '&author='+ formData_1.author +'&paper_type=' + '&NumberWords=' + res.data.word_num + '&order_amount=' + resData.data.order_amount + '&dateTime=' + resData.data.created +  '&goods=&payId=' + '&pay_wap_url=' + resData.data.pay_wap_url + '&jcType=' + $(".ver_info .ver_item.active").data('type')
                                } else {
                                    throttling = true
                                    toast(data.codeMsg)
                                }
                            },
                            error: function (err) {
                                toastNone()
                                throttling = true
                                // error_dl(err)
                            }
                        });
                    }else{
                        throttling = true
                        toast(res.codeMsg, 2000);
                    }
                },
                error: function (err){
                    throttling = true
                    toast("请求失败!请检查网络", 2000);
                }
            })
        }
    })


    $(".btn-bgjc").click(function (){
        if(verify2()){
            if (!throttling) return
            toast({
                msg: '正在提交,请稍后...',
                type: 'loading',
                time: 20000
            })
            throttling = false
            var pathName = ''
            var locationPathname = window.location.pathname
            if (locationPathname.slice(locationPathname.length - 1, locationPathname.length) !== '/') {
                locationPathname += '/'
            }
            if (window.location.pathname.indexOf('index.html') != -1) {
                pathName = window.location.pathname.replace('index.html', 'query.html')
            } else {
                pathName = locationPathname + 'query.html'
            }
            var formData = {
                goods_id: $(".ver_info .ver_item.active").attr('goodsid'),
                frontNotifyUrl: window.location.origin + pathName + '?oid=#outTradeNo#',
                domain_record: window.location.origin, // 本地测试需要替换写死, 上线前切记恢复自动获取
                source: /MicroMessenger/.test(window.navigator.userAgent) ? 2 : 7
            }
            if (order_openid) {
                formData['wx_param[appid]'] = threeMsg.wx
                formData['wx_param[openId]'] = order_openid
            }

            if (window.localStorage.getItem('qhclickid')) {
                formData['qhclickid'] = window.localStorage.getItem('qhclickid')
            }
            if (window.localStorage.getItem('bd_vid')) {
                formData['bd_vid'] = window.localStorage.getItem('bd_vid')
            }


            var formData_1 = {
                title: '',
                author: '',
                file_type: $(".typeBox .type_item.active").data('type')=='cnkigr'?'cnki':$(".typeBox .type_item.active").data('type'),
            }
            if($(".ver_info .ver_item.active").data('type') == 'aigclwjc'){
                formData_1.type = 'aigclwjc'
                formData_1.paper_type = $(".aigc-kl .check_box.active").data('type')
            }else{
                formData_1.type = 'lwjc'
            }
            if($('.pdfInput').val()){
                formData_1.file = $(".pdfInput")[0].files[0]
                formData_1.title = $(".pdfInput")[0].files[0].name.slice(0,$(".pdfInput")[0].files[0].name.lastIndexOf('.'))
            }
            if($(".zipInput").val()){
                formData_1.file = $(".zipInput")[0].files[0]
                formData_1.title = $(".zipInput")[0].files[0].name.slice(0,$(".zipInput")[0].files[0].name.lastIndexOf('.'))
            }
            if($(".htmlInput").val()){
                formData_1.title = $(".htmlInput")[0].files[0].name.slice(0,$(".htmlInput")[0].files[0].name.lastIndexOf('.'))
                var fileName = $(".htmlInput")[0].files[0].name.replace(/\.[^/.]+$/,'')
                var content = $(".htmlInput")[0].files[0];
                var zip = new JSZip();
                zip.file(fileName+"-维普AIGC报告.html", content);
                zip.generateAsync({type:"blob"})
                    .then(function (content){
                        formData_1.file = new File([content] , fileName+".zip",{
                            type: 'application/zip',
                        })
                        uploadPre(formData_1, formData)
                    })
                return;
            }
            uploadPre(formData_1, formData)
        }
    })

    function uploadPre(formData_1,formData){
        $.ajax({
            type: 'POST',
            url: urls+ '/api/project/zjchong/pre_handle/upload?user_token='+USER_TOKEN+'&jane_name='+JANE_NAME+'&domain_record='+ window.location.origin,
            processData: false,
            contentType: false,
            xhrFields: {
                withCredentials: true
            },
            data: getFormData(formData_1),
            success: function (res){
                if(res.code == 200){
                    formData['data[rid][label]'] = '记录id'
                    formData['data[rid][value]'] = res.data.rid
                    $.ajax({
                        type: 'post',
                        url: urls + '/api/client/order/unified/create?user_token=' + USER_TOKEN + '&jane_name=' + JANE_NAME + (suffix ? '&' + suffix : ''),
                        data: getFormData(formData),
                        processData: false,
                        contentType: false,
                        xhrFields: {
                            withCredentials: true
                        },
                        success: function (resData) {
                            toastNone()
                            if (resData.code == 200) {
                                throttling = true
                                if (/MicroMessenger/.test(window.navigator.userAgent) && payWay_Info.wx && payWay_Info.wx_jsapi) {  // 微信浏览器
                                    let pathName = window.location.pathname
                                    if (window.location.pathname.indexOf('index.html') !== -1) {
                                        pathName = pathName.replace('index.html', 'pay.html')
                                    } else {
                                        pathName = pathName + 'pay.html'
                                    }
                                    location.href = 'https://api.taoxiangyoushu.com/weixin/getOpenId?appid=' + payWay_Info.wx_jsapi + '&otherUrl=' + encodeURIComponent(window.location.origin + pathName + '?commitId=' + resData.data.order_sn + '&lw_type=' + formData_1.title + '&author='+ formData_1.author + '&paper_type=' + '&NumberWords=' + res.data.word_num + '&speciality=' + '&order_amount=' + resData.data.order_amount + '&dateTime=' + resData.data.created + '&goods=&payId=' + '&pay_wap_url=' + resData.data.pay_wap_url + '&jcType=' + $(".ver_info .ver_item.active").data('type'))
                                    return
                                }
                                location.href = './pay.html?commitId=' + resData.data.order_sn + '&lw_type=' + formData_1.title + '&author='+ formData_1.author +'&paper_type=' + '&NumberWords=' + res.data.word_num + '&order_amount=' + resData.data.order_amount + '&dateTime=' + resData.data.created +  '&goods=&payId=' + '&pay_wap_url=' + resData.data.pay_wap_url + '&jcType=' + $(".ver_info .ver_item.active").data('type') + '&bgjc=' + 'bgjc'
                            } else {
                                throttling = true
                                toast(resData.codeMsg)
                            }
                        },
                        error: function (err) {
                            toastNone()
                            throttling = true
                            // error_dl(err)
                        }
                    });
                }else{
                    throttling = true
                    toast(res.codeMsg, 2000);
                }
            },
            error: function (err){
                throttling = true
                toast("请求失败!请检查网络", 2000);
            }
        })
    }
</script>
</body>
</html>
